SET SPRITE IMAGE

This command will set the image of the specified sprite.

  Syntax
SET SPRITE IMAGE Sprite Number, Image Number
  Parameters
Sprite Number
Integer
The sprite number
Image Number
Integer
You can manipulate which image the sprite uses by specifying an existing Image for the sprite

  Returns

This command does not return a value.

  Description

You can manipulate which image the sprite uses by specifying an existing Image for the sprite. The parameters should be specified using integer values.

  Example Code
load image "man.bmp",1
load image "man.bmp",2
cls
sprite 1,100,100,1
set sprite image 1,2
do
loop
end
  See also

SPRITE Commands Menu
Index